﻿// =================================================================== 
// 项目说明
//====================================================================
// lsc @Copy Right 2019
// 文件： CardContentRelaEntity.cs
// 项目名称：斑马车务
// 创建时间：2019/10/22
// 负责人：lsc
// ===================================================================

using System;
using Dapper.Extensions;

namespace YouWei.Infrastructure.Entity
{
	/// <summary>
	///车主卡福利关联数据实体  
	/// </summary>
    [PrimaryKey("CardContentRelaID")]
	public class UserCardContentRela
	{
		///<summary>
		///车主卡福利关联
		///</summary>
		public UserCardContentRela()
		{
		}	
    
		
		///<summary>
		///
		///</summary>
        [Column("CardContentRelaID","")]
        public int CardContentRelaID { get; set; }

		///<summary>
		///用户卡
		///</summary>
        [Column("CardId","用户卡")]
        public int CardId { get; set; }

		///<summary>
		///
		///</summary>
        [Column("CardContentId","")]
        public int CardContentId { get; set; }

		///<summary>
		///
		///</summary>
        [Column("Diff","")]
        public decimal Diff { get; set; }

		///<summary>
		///
		///</summary>
        [Column("Price","")]
        public decimal Price { get; set; }

		///<summary>
		///
		///</summary>
        [Column("Description","")]
        public string Description { get; set; }

		///<summary>
		///详情
		///</summary>
        [Column("DetailUrl","详情")]
        public string DetailUrl { get; set; }

		///<summary>
		///创建时间
		///</summary>
        [Column("CreatedDate","创建时间")]
        public DateTime CreatedDate { get; set; }

		///<summary>
		///创建人
		///</summary>
        [Column("CreateUser","创建人")]
        public int CreateUser { get; set; }

        ///<summary>
		///排序
		///</summary>
        [Column("RelaSort", "排序")]
        public int RelaSort { get; set; }
        

        ///<summary>
        ///最后修改时间
        ///</summary>
        [Column("LastUpdateDate","最后修改时间")]
        public DateTime LastUpdateDate { get; set; }

		///<summary>
		///最后修改人
		///</summary>
        [Column("LastUpdateUser","最后修改人")]
        public int LastUpdateUser { get; set; }

        ///<summary>
        ///车主卡名称
        ///</summary>
        [ResultColumn("CardName", "车主卡名称")]
        public string CardName { get; set; }

        ///<summary>
        ///车主卡内容名称
        ///</summary>
        [ResultColumn("ContentName", "车主卡内容名称")]
        public string ContentName { get; set; }

        /// <summary>
        /// 图片详情地址
        /// </summary>
        [ResultColumn("DetailImageUrl", "图片详情地址")]
        public string DetailImageUrl
        {
            get;set;
            
        }

    }
}